package com.blackline.UI.ACCOUNTS;

import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.FindBy;

/**
 * @author XBO
 * @version Feb, 2013
 * <p>This page is after logging in with PREPRARER, and clicking ACCOUNTS in navigation menu.
 * Please refer to UI.Accounts_ExceGrid.png in doc-files.<br>
 */
public class Accounts_ExceGrid {
	/**
	 * View All Items button
	 */
	@FindBy (id = "tbibViewAllItems")
	public WebElement View_All_Items_button;

	
	/**
	 * Add button
	 */
	@FindBy (xpath = "//button[@class='webControls_ToolBar_Btn webControls_ToolBar_Btn_Add']")
	public WebElement Add_button;
	
	/**
	 * Refresh button
	 */
	@FindBy (xpath = "//button[@class='webControls_ToolBar_Btn webControls_ToolBar_Btn_Refresh']")
	public WebElement Refresh_button;
	
	/**
	 * Clear button
	 */
	@FindBy (xpath = "//button[@class='webControls_ToolBar_Btn webControls_ToolBar_Btn_Clear']")
	public WebElement Clear_button;
	
	/**
	 * Bulk Certify button
	 */
	@FindBy (id = "tbibBulkCertify")
	public WebElement Bulk_Certify_button;
	
	
	/**
	 * Preparer filter text field;
	 */
	@FindBy(xpath = "//thead/tr[3]/td[4]/input")
	public WebElement Preparer_textField;
	
	/**
	 * Team filter text field;
	 */
	@FindBy(xpath = "//thead/tr[3]/td[5]/input")
	public WebElement Team_textField;
	
	/**
	 * Entity filter text field;
	 */
	@FindBy(xpath = "//thead/tr[3]/td[6]/input")
	public WebElement Entity_textField;
	
	/**
	 * Account filter text field;
	 */
	@FindBy(xpath = "//thead/tr[3]/td[7]/input")
	public WebElement Account_textField;
	
	
	/**
	 * Key3 filter text field;
	 */
	@FindBy(xpath = "//thead/tr[3]/td[8]/input")
	public WebElement Key3_textField;
	
	
	/**
	 * Description filter text field;
	 */
	@FindBy(xpath = "//thead/tr[3]/td[9]/input")
	public WebElement Description_textField;
	
	
	/**
	 * Risk filter text field;
	 */
	@FindBy(xpath = "//thead/tr[3]/td[10]/input")
	public WebElement Risk_textField;
	
	
	/**
	 * Cncy filter text field;
	 */
	@FindBy(xpath = "//thead/tr[3]/td[11]/input")
	public WebElement Cncy_textField;
	
	
	/**
	 * GL Balance filter text field;
	 */
	@FindBy(xpath = "//thead/tr[3]/td[12]/input")
	public WebElement GL_Balance_textField;
	
	
	/**
	 * Unidentified filter text field;
	 */
	@FindBy(xpath = "//thead/tr[3]/td[13]/input")
	public WebElement Unidentified_textField;
	
	/**
	 * Pre Due Date filter text field;
	 */
	@FindBy(xpath = "//thead/tr[3]/td[14]/input")
	public WebElement Pre_Due_Date_textField;
	
	/**
	 * Edit link of 1st searched result (suppose only have one result)
	 */
	@FindBy (linkText = "Edit")
	public WebElement Edit_linkOf1stSearchedResult;
	
	/**
	 * View icon of 1st searched result (suppose only have one result)
	 */
	@FindBy (linkText = "View")
	public WebElement View_linkOf1stSearchedResult;
	
	/**
	 * Prepared icon of 1st search result (suppose only have one result)
	 */
	@FindBy (xpath = "//img[@title='Prepared']")
	public WebElement Prepared_icon;
	
	/**
	 * Cert icon of 1st search result (suppose only have one result)
	 */
	@FindBy (linkText = "Cert")
	public WebElement Cert_icon;
	
	/**
	 * Rej icon of 1st search result (suppose only have one result)
	 */
	@FindBy (linkText = "Rej")
	public WebElement Rej_icon;
	
	
	
	
}
